public PDFCosName getAsCosName( int index, PDFCosName defaultValue ) |
Parameters
- index
- Index of element to return.
- defaultValue
- default value to return if the element at the specified index is not a COS name
Return Value
The element at the specified.
public PDFCosName getAsCosName( int index, PDFCosName defaultValue ) |
| Exception | Description |
|---|---|
| java.lang.IllegalArgumentException | Thrown when the index value is invalid |